<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8"/>
        <title>
            初识VUE
        </title>
        <script type="text/javascript" src="../js/vue.js"></script>
    </head>
    <body>
        
        <div id="root">
            Hello, {{name}}, {{address}}  <!-- View -->
        </div>
        <script type="text/javascript">
            Vue.config.productionTip = false
            // 创建vue对象
            const vm = new Vue({ //ViewModel
                el: '#root', // 指定当前实例服务对象, 即root
                data: { // 保存数据. 供el使用, Model
                    name: '尚硅谷123',
                    address: 'atGui'
                }
            })
            console.log(vm)
        </script>
    </body>
</html>